package com.sjh.test.java8.foreach;

import java.util.Arrays;
import java.util.List;

public class ForEachTest2 {

    public static void main(String[] args) {
        List<String> list = Arrays.asList("你好", "二哥！", "FOR 循环遍历。");
        for( String it : list)
        {
            System.out.println(it);
        }
    }
}
